package com.ccl.book;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
//import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;


//@MapperScan("com.ccl.book.mapper.AdminMapper")//扫描指定包
// 这个属于自动配置里，在开发人员没有自定义数据源DataSource bean组件时，根据开发人员所引入的包自动定义DataSource bean组件
//@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})

@SpringBootApplication
@EnableDubbo
public class AdminStart {
    public static void main(String[] args) {
        SpringApplication.run(AdminStart.class,args);
    }
}
